package com.cmc.cloud.cmclink.doc.vo.blnoblprintlogvo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 提单打印创建 Request VO
 * 
 * @author llp
 */
@Schema(description = "管理后台 - 提单打印创建 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BlnoBlPrintLogCreateReqVO extends BlnoBlPrintLogBaseVO {

    @Schema(description = "previewBl、draftBl、printAtt、printBl", example = "对应打印编辑中4个按钮，点击按钮必传")
    private String type;

    @Schema(description = "文件名-后端使用", example = "文件")
    private String fileName;

    @Schema(description = "是否为批量生成按钮", example = "false")
    @NotNull(message = "{BlnoBlPrintLogCreateReqVO.isBatch.notblank}")
    private Boolean isBatch;

    @Schema(description = "是否重新生成", example = "false")
    private Boolean regenerateFlag;

}
